package Structure.Bridge;


import Structure.Bridge.bridge.*;

/**
 * Learn Java from https://www.liaoxuefeng.com/
 * 
 * @author liaoxuefeng
 */
public class Main {

	public static void main(String[] args) {
		RefinedCar car1 = new BossCar(new HybridEngine());
		car1.drive();
		RefinedCar car2 = new TinyCar(new ElectricEngine());
		car2.drive();
	}
}
